change red black tree clone function