The point of gardening leave is that it is mandatory, not voluntary. People are not going to choose to put their career on pause when they could be working, even if you pay them.
The proposed law will ban mandatory non competes, even if they are paid.