If you have a creature enter the battlefield as a copy of Mairsil, its first ability triggers. You won't be able to activate any abilities before the "legend rule" applies, but the triggered ability will still let you exile another card with a cage counter regardless of which Mairsil you keep.