def clone_to(target)
      raise ContainerError, "Container does not exist." unless exists?

      if LXC.container(target).exists?
        raise ContainerError, "New container already exists."
      end

      LXC.run("clone", "-o", name, "-n", target)
      LXC.container(target)
    end
def clone_to(target)
      raise ContainerError, "Container does not exist." unless exists?

      if LXC.container(target).exists?
        raise ContainerError, "New container already exists."
      end

      LXC.run("clone", "-o", name, "-n", target)
      LXC.container(target)
    end
Clone to a new container from self
 @param [String] target name of new container
 @return [LXC::Container] new container instance