The `Timeline` type is mutable, so we need to create a copy before we pass it to GuiKeyframeRepository because we don't want anything stored in there (or more specifically in render queue which can also be added to from that gui) to be affected by subsequent changes.