Maybe there already lies another reason for the lower salaries - if you are from a country which traditionally had your company actually appreciate their employees and make them feel valued, and historically you just had to land your job and could expect to stay with the company the rest of your life, you will not be actively looking unless you get laid off. Loyalty on both sides is still quite common where I live.
My understanding of that article was that it was not necessarily about duplicated code, but duplicated data. If you have two places storing the same data, and different parts of your app go to each of it, you need to somehow keep them in sync, and that’s often a pain.
I’m trying to be very rigorous about avoiding that, duplicated code I’m a bit less rigorous about.