Copy tab characters from iTerm

This question is the opposite of iTerm2 v3 conversion of tabs to spaces on paste.

When I cat a file that contains tabs, such as a Makefile, iTerm shows these tabs as spaces, and when I copy them to an editor I also get spaces. Is it possible to get the tabs in the clipboard?