This law applies to all of Israeli's citizens, not just some of them. Therefore the law is not discriminatory. If a Jewish Israeli citizen marries a Palestinian, then the law will also not allow that spouse to automatically become an Israeli citizen.
Some 200 settlers clash with police preparing to demolish illegal Beit El homes (Haaretz)
from the article: Barak's mail to Yale