createSVGMatrix

The createSVGMatrix() method of the SVGSVGElement interface creates a DOMMatrix object outside of any document trees.

MDN Reference