Comedians seem to use phrases that employ this type of sentence structure - is there a name for it?
Examples of Groucho Marx's one liners seem to fit this pattern — and if memory serves, Emo Philips.
One morning I shot an elephant in my pajamas, how he got in my pajamas, I don't know.
I've had a perfectly wonderful evening, but this wasn't it.