How to handle more entities (being cloned)

Hello all,
I am working on a project for science class where there are 3 cubes (green, blue, and pink) and every second (I think) the green and blue cubes clone themselves. (pink cubes clone themselves every 10 seconds. There are also white spheres that kill blue cubes.

While it doesn’t need to have more than 30k entities (my last test crashed playcanvas around that) it would be fun if it could. Also when more entities are cloning there is a massive lag spike. Is there anything that can help with this?

Thanks!

Editor link:https://playcanvas.com/editor/project/1276717