Not so much a loophole, but back in the 50s all kinds of income were treated the same which meant you could write off your income against your investment losses.
I think it's naive to assume that rich Americans back then weren't working the system. If it was so great, why do we tax different kinds of income differently now?