The text is an example of the 'duck test,' a form of inductive reasoning. It does not exploit different meanings of a word or similar-sounding words for humorous effect.
If it looks like a duck , swims like a duck , and quacks like a duck , then it probably is a duck .