Sorry for the late reply.
It seems the get_clone function is messing up the random values, and I don’t know what exactly happens.
However, just add your seed in add_pop right before the for loop and you should get the same results.
I try to debug this issue a bit further.