There are a lot of public schools with similar restrictions. Public universities in Texas have similar rules and are overwhelmingly in-state students as a result.
On the other hand, schools like Illinois and Berkeley like to encourage out-of-staters more and have comparatively higher percentages of those students, though they aren’t immune to state-mandated enrollment pressure.