Correctly default `allowDuplicateProperties` to `true`.