function getOverlays(vObjects) {
		return Util.castArray(vObjects)
		// Get overlays
		.map(function(oObject) {
			if (oObject instanceof ElementOverlay) {
				return oObject;
			}

			var oElementOverlay = OverlayRegistry.getOverlay(oObject);
			if (oElementOverlay) {
				return oElementOverlay;
			}
		})
		// Filter out not found overlays & duplicates
		.filter(function(oElementOverlay, iIndex, aSource) {
			return oElementOverlay && aSource.indexOf(oElementOverlay) === iIndex;
		});
	}
Constructor for a new SelectionManager.

@param {string} [sId] id for the new object, generated automatically if no id is given
@param {object} [mSettings] initial settings for the new object

@class
The Selection Manager is used to manage the selection of overlays. Overlays and Elements
with overlays can be added to / removed from the current selection.
@extends sap.ui.base.ManagedObject

@author SAP SE
@version ${version}

@constructor
@private
@since 1.54
@alias sap.ui.dt.SelectionManager