code: public DTMIterator cloneWithReset() throws CloneNotSupportedException
    {
  
      NodeSetDTM clone = (NodeSetDTM) clone();
  
      clone.reset();
  
      return clone;
    }
docs: Get a cloned Iterator, and reset its state to the beginning of the
  iteration.
  
  @return a new NodeSetDTM of the same type, having the same state...
  except that the reset() operation has been called.
  
  @throws CloneNotSupportedException if this subclass of NodeSetDTM
  does not support the clone() operation.