function add(name, fn, info) {
			if ( !proto[name] ) {
				proto[name] = (info && info.deprecated) ? deprecation(fn, prefix + info.name) : fn;
			}
			methods.push(name);
		}
Filter out settings from the given map that are not described in the metadata.

If <code>null</code> or <code>undefined</code> is given, <code>null</code> or <code>undefined</code> is returned.

@param {object|null|undefined} [mSettings] original filters or <code>null</code>
@returns {object|null|undefined} new object with filtered settings or <code>null</code> or <code>undefined</code>
@private
@since 1.27.0