Fixed scope cloning.