• Given a tree aTree, returns a clone of shallow copies. Every element is cloned by simple copy.

    Parameters

    • aTree: Tree<any>

      the tree to consider

    Returns Tree<any>

    the cloned tree