Clone the whole cakephp tree.