Trees: added various constant-space traversal & cloning algorithms