Form reset instead of clear

Would be nice to have a “form reset on submission” in addition to the “clear on submission” option currently available.

As an example, I have a form in a modal, where the default value for one of the fields is the number 0. I have it set so that the form is cleared after submission. However, once the form is cleared, the default value of the field above is not set to 0, but is instead blank.