I had heard something similar a few years ago but not with a rubber duck. This seems more logical than what I heard, somehow.
Basically, a programmer, when debugging code, should have a rubber ducky beside their computer at all times so that when the debug phase kicks in, you can explain the code, line-by-line, to your rubber ducky.
I’d love to be the guy who orders thousands of rubber duckys for a programming firm. Moreover, I’d love to be the guy who has to write off counselling sessions for programmers who have lost beloved duckys.