I can confirm Ireland does this as well. I'm not familiar with immigration law as have both US and EU passports and can travel to work freely between the two.
While I critique the US for a lot and it does get a lot wrong I think many countries do this.