get_tree function

Return a copy of the learner that uses a specific tree rather than the tree with the best training objective.