A very common limit around the entire US is the municipality-wide building height restriction.
Basically, the city outlaws any building taller than 40' above grade at its highest point. Between that, and minimum setbacks from the frontage line and other property lines, 90% of the work to prevent densification is already done. Once a building plan has grown to completely fill its legal envelope, there's nowhere else to go but down, and that becomes prohibitively expensive fast.
The remaining 10% can be handled by mandating a minimum square footage per residential unit that is slightly more than half the theoretical maximum from a building at maximum height and minimum height on the mean lot size for that zone. Then no amount of building up or out can allow you to squeeze another unit onto your property. You have to resort to tricks like lowering ceiling heights.
If you enact a law at the state level that triggers automatic lessening of restrictions on building heights or setbacks every time a municipality fails to grow enough housing, zoning boards will be a lot more tractable when a developer wants to build.