withAllSubschemas(subs: SchemaColl input);
The withAllSubschemas method of the Schema class adds the current schema and all of its subschemas to the collection specified in the subs parameter. The collection is not cleared before instances are added.