Exile all cards from your library. Then shuffle your graveyard into your library.
This card won’t be put into your graveyard until after it’s finished resolving, which means it won’t be shuffled into your library as part of its own effect.