Javadoc
Returns a duplicate of this node, i.e., serves as a generic copy
constructor for nodes. The duplicate node has no parent; (parentNode is
null.).
Cloning an Element copies all attributes and their values, including those
generated by the XML processor to represent defaulted attributes, but this
method does not copy any text it contains unless it is a deep clone, since
the text is contained in a child Text node. Cloning an Attribute directly,
as opposed to be cloned as part of an Element cloning operation, returns a
specified attribute (specified is true). Cloning any other type of node
simply returns a copy of this node.