Do proper cloning in worker/wrapper splitting