Fixed clone method in the model.