clone method Null safety

TreeNode clone()

Implementation

TreeNode clone();