Whenever a nontoken creature you control dies, you may search your library for a card with the same name as that creature, reveal it, put it into your hand, then shuffle.
If a card which is a creature only due to an effect goes to the graveyard, you can search for another copy of that card even though the card in your library won’t be a creature card.