title: CakePHP: Duplicating/Deep Copying a Tree Structure Easily?
body: <p>I am wondering is there an easy way to make a copy of a tree structure that consists of one model with a parent_id that actsAs a tree?</p>
  
  <p>I was thinking it should be easy to recursively go through a given tree, remove all ids and lft, rght fields; however, as I add the new fields parent_id won't match up correctly. I suppose it should be easy enough to write my own function to handle this, but I just wanted to know if there was already something to handle this?</p>
  
  <p>Thanks!!</p>