That will give you an exception with the message "Cannot add or insert the item 'somenodename' in more than one place. You must first remove it from its current location or clone it. As well, that only copies top-level nodes, it does not traverse the tree.
Peter Ritchie Monday, July 17, 2006 6:18 PM
You need to clone all the top-level nodes. This will do what you want: