It seems bad grammar to me there; however, I can say ' When it comes to being impatient, Mister Micawber takes the cake' . Being impatient is a non-finite clause acting as a noun. When it comes to cake, Mitsy bakes the best.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.