Inherit split up into cloneObject and inherit