Workaround for Data::Clone not cloning objects