If you just want to maintain a screenshot (so to speak) of the canvas, that will work, but there would be no way to undo what has been done.

You would have to store the points somewhat in this...