selectOnly (elems, showGrips) {
    this.clearSelection(true)
    this.addToSelection(elems, showGrips)
  }
Selects only the given elements, shortcut for `clearSelection(); addToSelection()`.
@function module:svgcanvas.SvgCanvas#selectOnly
@param {Element[]} elems - an array of DOM elements to be selected
@param {boolean} showGrips - Indicates whether the resize grips should be shown
@returns {void}