public Object clone() throws CloneNotSupportedException {
  NodeList clonedList=(NodeList)super.clone();
  clonedList.cloneNodes();
  return clonedList;
}

public Object clone ( ) throws CloneNotSupportedException { NodeList clonedList = ( NodeList ) super . clone ( ) ; clonedList . cloneNodes ( ) ; return clonedList ; }
returns a nodelist that contains the same nodes as this node list .
