defaultPolicy
This function allows configuring the policy based on the default (or already set configuration). When the policy set is (derived from) DefaultXmlSerializationPolicy, this is effectively equivalent to getting access to its builder to update the settings.
If the already set policy does not inherit DefaultXmlSerializationPolicy this will set the policy to a new default policy with default configuration (inheriting only the properties defined on XmlSerializationPolicy).