🐛 GCODE viewer: get rid of deep clone
🐛 GCODE viewer: get rid of deep clone

Fixes #3277

foosel/OctoPrint,foosel/OctoPrint,Jaesin/OctoPrint,Jaesin/OctoPrint,foosel/OctoPrint,Jaesin/OctoPrint,Jaesin/OctoPrint,foosel/OctoPrint