Added a clone method.