Look at the paster object, it can probably do what you want, or you can see how it does it.
It's roughly based on how C2's runtime uses effects, because unfortunately I couldn't find a way to use it directly.
Cool but i have 50 instance at the same sprite, everyone with different color effect enabled. When i use the paster and change the last instance, all the instance will have the same sprite. What do i do?