# skbio.tree.TreeNode.copy¶

TreeNode.copy()[source]

Returns a copy of self using an iterative approach

Perform an iterative deepcopy of self. It is not assured that the copy of node attributes will be performed iteratively as that depends on the copy method of the types being copied

Returns: TreeNode A new copy of self

>>> from six import StringIO