#77 added clone methods for objs and compos