# Drawstep engine · Keyword abilities & simple keywords · `replicate` > Replicate — Pay any number of times; copy the spell that many times. Engine: Magic: The Gathering (`mtg`). This is one primitive of the Drawstep card vocabulary; field names and the discriminator are exact. Wiki page: https://drawstep.xyz/wiki/mtg/keywords#replicate ## Where it goes One entry of `keywordAbilities[]`: `{ "keyword": "replicate", … }`. Plain keywords with no parameter are strings in `keywords[]`. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `cost` | `CostDef` | yes | The cost (CostDef) | | `costIsManaCost` | `boolean` | no | "The replicate cost is equal to its mana cost" (CR 702.56, 118.6): the spell's own mana cost; no mana cost is unpayable | ## Minimal form ```json {"keyword":"replicate","cost":{"mana":"{1}"}} ``` The engine reads that minimal form as: “Replicate {1}”. ## Stock examples - **Djinn Illuminatus** — “Each instant and sorcery spell you cast has replicate. The replicate cost is equal to its mana cost.” ```json {"keyword":"replicate","cost":{},"costIsManaCost":true} ``` ## Related - [Keyword abilities & simple keywords](https://drawstep.xyz/wiki/mtg/keywords.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive