New to Kendo UI for jQueryStart a free 30-day trial

Clone

methods

Creates a new instance with the same element values.

Returns:kendo.geometry.Matrix

A new Matrix instance with the same element values.

<script>
    var geom = kendo.geometry;
    var originalMatrix = new geom.Matrix(2, 0.5, 0.3, 1.5, 20, 15);
    var clonedMatrix = originalMatrix.clone();
    console.log("Original:", originalMatrix.toString());
    console.log("Cloned:", clonedMatrix.toString());
    console.log("Are they equal?", originalMatrix.equals(clonedMatrix)); // true
</script>
Not finding the help you need?
Contact Support