Fix up model cloning.