Paste a tikzpicture (or a whole .tex file), or open one. The import replaces the current drawing; Undo brings it back.
tikzpicture