Fixed cloning as simulations were not taken into account.

Fix by marcin212