This clever interaction exploits a clever quirk in naming conventions to mill your entire library in one fell swoop. When you cast Mirror-Mad Phantasm, Unstable Shapeshifter enters the battlefield and transforms into a copy of it, inheriting its ability while retaining its own name. Because the copied creature's name is still Unstable Shapeshifter rather than Mirror-Mad Phantasm, activating that ability forces you to shuffle it away and reveal cards endlessly, failing to ever find a match with the correct name until your entire library is dumped straight into the graveyard.