docs: function clearField(index, properties) {
          // Aliased fields reflect values on other fields and do not need to be cleared.
          if (properties.isAlias === true) {
              return;
          }
  
          // In case of object & array, they must be initialized immediately.
          if (properties.type === 'object') {
              this[properties.name].clear();
  
              // Native arrays are never used so that toArray can be globally supported.
              // Additionally, other properties such as unique rely on passing through SchemaObject.
          } else if (properties.type === 'array') {
              this[properties.name].length = 0;
  
              // Other field types can simply have their value set to undefined.
          } else {
              writeValue.call(this[_privateKey]._this, undefined, properties);
          }
      }