If I recall correctly, New York was the first to do this. There have been other states to follow, including North Carolina. I believe California is also looking at this type of legislation.
With California looking to be next, we might see if the latter consideration is the dominant one.