Currently there is no way to do that.
You could probably just add them both as password fields and just update the html after the form is created from input type="password" to input type="text".
I'll log this as a feature request to add to the next version.