honeben
I never used the persist behavior and I have a habit of doing most of my C2 stuff with variables as they tend to always do what I want of them, so when thinking of how to do something without having the program open in front of me I default to Boolean variables.
Always multiple ways to achieve the same results in C2
Another way would be to have an invisible "coin spawner sprite" at the locations of all the coins with a variable on the spawner and
At start of layout >
For each Spawn sprite>
Spawn sprite "collected" = false > spawn coin.
then on collision with the spawn sprite set the variable to true so when the layout restarts the coin no longer spawns.