Don't use thread-unsafe deepcopy() and copy GcodeModel by hand