https://learn.microsoft.com/cs-cz/dotnet/api/system.xml.serialization.xmlarrayitemattributes.clear?view=dotnet-uwp-10.0&viewFallbackFrom=netcore-1.1
XmlArrayItemAttributes.Clear Method (System.Xml.Serialization) | Microsoft Learn
Removes all items from the IList.
clearmethodsystemxmlserialization