clone tree method added