The cloneNode method of the Node interface returns a duplicate of the node on which this method was called. Its parameter controls if the subtree contained in a node is also cloned or not....parent and is not part of the document, until it is added to another...another node that is part of the document, using Node.appendChild()...