Ensure expand context is cloned.