Sew buttons on ice cream

What is the origin of "sew buttons on ice cream"?