Most dealers will refund your deposit. It's not as if they'll be "stuck" with an unsold car, they'll just go to the next name on a long list.

Putting a deposit on a car before final specs are out is fairly risk-less, and wise if you want one early, assuming it winds up being what you want.