__cloneNamedNodes__ = function(namednodemap, parentNode, isnsmap) {
    var cloneNamedNodeMap = isnsmap?
        new NamespaceNodeMap(namednodemap.ownerDocument, parentNode):
        new NamedNodeMap(namednodemap.ownerDocument, parentNode);

    // create list containing clones of all children
    for (var i=0; i < namednodemap.length; i++) {
        __appendChild__(cloneNamedNodeMap, namednodemap[i].cloneNode(false));
    }

    return cloneNamedNodeMap;
}
@method __cloneNamedNodes__
     Returns a NamedNodeMap containing clones of the Nodes in this NamedNodeMap

@param  parentNode : Node - the new parent of the cloned NodeList
@param  isnsmap : bool - is this a NamespaceNodeMap
@return NamedNodeMap containing clones of the Nodes in this NamedNodeMap