It is a play on words. I can't tell you where it came from but it is indeed a pun that's usually uttered by someone playing a vampire and it's a play on "Thanks for the memory/memories".
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: