clone tree method added

- clone_tree method added (useful for cost-complexity pruning method in CART)
- Unittest added for same