public List<Node> childNodesCopy() {
        final List<Node> nodes = ensureChildNodes();
        final ArrayList<Node> children = new ArrayList<>(nodes.size());
        for (Node node : nodes) {
            children.add(node.clone());
        }
        return children;
    }
public List < Node > childNodesCopy ( ) { final List < Node > nodes = ensureChildNodes ( ) ; final ArrayList < Node > children = new ArrayList < > ( nodes . size ( ) ) ; for ( Node node : nodes ) { children . add ( node . clone ( ) ) ; } return children ; }
Returns a deep copy of this node's children. Changes made to these nodes will not be reflected in the original
nodes
@return a deep copy of this node's children