Added support for proper initial cloning of complex structures for new
instances.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>