The information for icons in that window are stored in their respective .info files. The size, show all settings etc. for a drawer are stored in the drawer's .info file (which is in the parent drawer), or in case of the root of a drive, in the disk.info file.
Edit: And nope, it can't be undone. Maybe delete the drawer.info or disk.info file and create a new one with the same image, then it'll take the default position and size, but I don't really see the need for that when you can just show only icons and snapshot the window then...