Storing cloned object in variable for later to avoid ID conflict issues