Creates a duplicate of this node.
deep true to recursively clone the subtree under the specified node; false to clone only the node itself. For white space nodes, the cloned node always includes the data value, regardless of the parameter setting.
The cloned node.
XmlWhitespace.CloneNode(bool) serves as a copy constructor for nodes. To see how this method behaves with other node types, see XmlNode.CloneNode(bool).
The cloned node has no parent. XmlNode.ParentNode returns null.