Replaced copy by clone.