args: collection, type - Given a geometry collection, returns a multi-geometry containing only elements of a specified type.