Clone support

Added a function for cloning a container.