Investigate if assigning an event into a buffer is a shallow or deep copy. How does godot implement the event system? need a way of finding out if there is reference counting/tracking if it works in the shallow way.
Starting point
https://docs.godotengine.org/en/stable/tutorials/inputs/inputevent.html