Added support for volume cloning.

Also improved unit tests to 100%.