This is incomplete (doesn't include joints and fixtures and fails to adjust velocities). Since doing this right would be very difficult and it not being a use-case we should ever expect somebody to rely on, please don't even try and print out a warning instead if the world already contains any bodies.