Implementing 'clone' operator [ci skip]