There was a program you could run on the TI calculators before clearing that did some voodoo magic so that you could memorize some short “binary” program that restored it all. My memory is vague but between clearing and executing this very short executable, it at least appeared to be completely wiped.