Creates a new copy that is a copy of the current node, optionally cloning all parent and ancestor nodes of the current node.
A new node that is a copy of the current node.
If the cloneParentNodes parameter is true, the SiteMapNode.Clone(bool) method recursively clones all direct ancestor nodes and associates them with the current cloned node. Child nodes are not cloned.
The SiteMapNode.Roles and SiteMapNode.Attributes collections are applied to new collections.