Fixed error in clone method definition.