Cannot create a proper clone method with shared_ptr · HackerTrans