Node.dup

Node dup()

A deep copy of this node (with all the descendants), not attached to the document