__cloneNodes__ = function(nodelist, deep, parentNode) {
    var cloneNodeList = new NodeList(nodelist.ownerDocument, parentNode);

    // create list containing clones of each child
    for (var i=0; i < nodelist.length; i++) {
        __appendChild__(cloneNodeList, nodelist[i].cloneNode(deep));
    }

    return cloneNodeList;
}
@method __cloneNodes__ -
     Returns a NodeList containing clones of the Nodes in this NodeList
@param  deep : boolean -
     If true, recursively clone the subtree under each of the nodes;
     if false, clone only the nodes themselves (and their attributes,
     if it is an Element).
@param  parentNode : Node - the new parent of the cloned NodeList
@return : NodeList - NodeList containing clones of the Nodes in this NodeList