...isn't that the reason they were illegal? It seems you're implying not triggering a taxable event isn't important.
Whereas with a dividend, you pay tax immediately when the dividend is issued.
Unless you’re a billionaire of course: https://www.propublica.org/article/the-secret-irs-files-trov...
The ultra wealthy never sell their shares for this reason. Instead they opt for taking out endless loans so they don’t pay taxes on their capital gains.
The tax-free dividend is more of a modern discovery, I think. Which is why the loophole hasn't been closed yet.
Since newly issued shares are not tax deductible for the owners, you'd basically be paying tax even if net zero capital is returned.