Creates a duplicate of this node.
[Visual Basic] Overridable Public Function Clone() As XmlNode [C#] public virtual XmlNode Clone(); [C++] public: virtual XmlNode* Clone(); [JScript] public function Clone() : XmlNode;
The duplicate node.
Cloning an XmlElement copies all attributes and their values, including those generated by the XML processor to represent defaulted attributes. This method recursively clones the node and the subtree underneath it.