How to create a coin multiplier

Is there a way to create a collectable, that you can multiply and more are produced along?

Instead of duplicating multiple coins for a whole level.