code: public Presence cloneWithNewId() {
          Presence clone = clone();
          clone.setStanzaId(StanzaIdUtil.newStanzaId());
          return clone;
      }
docs: Clone this presence and set a newly generated stanza ID as the clone's ID.
  
  @return a "clone" of this presence  with a different stanza ID.
  @since 4.1.2