cloneIterator

Clones and resets this iterator. Note that the cloned iterator is
not restartable. This is because cloning is needed for variable
references, and the context node of the original variable
declaration must be preserved.