function highlightTemplateCloneElements(mAggregationBindingInfo, oElementOverlay, iStackIndex) {
		iStackIndex = iStackIndex === undefined ? mAggregationBindingInfo.stack.length - 1 : iStackIndex;
		var mStackEntry = mAggregationBindingInfo.stack[iStackIndex];
		var bLastStackEntry = iStackIndex === 0;
		var bTemplateSelected = mAggregationBindingInfo.stack.length === 1;
		if (mStackEntry) {
			oElementOverlay.getChildren().forEach(function(oChildAggregationOverlay) {
				if (oChildAggregationOverlay.getAggregationName() === mStackEntry.aggregation) {
					oChildAggregationOverlay.getChildren().some(function(oChildElementOverlay, iIndex) {
						if (bLastStackEntry && bTemplateSelected) {
							oChildElementOverlay.toggleStyleClass("sapUiDtOverlayHighlighted");
						} else if (bLastStackEntry && iIndex === mStackEntry.index) {
							oChildElementOverlay.toggleStyleClass("sapUiDtOverlayHighlighted");
							return true;
						} else if (!bLastStackEntry) {
							highlightTemplateCloneElements(mAggregationBindingInfo, oChildElementOverlay, iStackIndex - 1);
						}
						return undefined;
					});
				}
			});
		}
	}
Sets whether the ElementOverlay is selected and toggles corresponding css class
@param {boolean} bSelected if the ElementOverlay is selected
@returns {sap.ui.dt.ElementOverlay} returns this
@public