Clean up `createSystem` and `cloneSystem`

Separate common code for initializing nscale-specific files into a
separate function.