If the copied card has X in its mana cost, X is 0.

Artwork
Loading artwork…
Lazotep Quarry
The List · #M3C-131 · EN
Nonfoil—Foil—
Card rules
Rare · Illustrated by Sam Burley
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If a card copied by the token had any "when [this creature] enters the battlefield" abilities, the token also has those abilities and will trigger them when it's created. Similarly, any "as [this creature] enters the battlefield" or "[this creature] enters the battlefield with" abilities that the token has copied will also work.
Except for the listed exceptions, the token created by Lazotep Quarry's last ability copies exactly what was printed on the original card and nothing else. It doesn't copy any information about the object that card was before it was put into your graveyard.
The token is a Zombie instead of its other creature types, and it's black instead of its other colors. These are copiable values of the token that other effects may copy.