function _broadcastTo (M, size) {
  if (deepStrictEqual(M.size(), size)) {
    return M
  }
  return M.create(broadcastTo(M.valueOf(), size), M.datatype())
}
Broadcasts a matrix to the given size.

@param {Matrix} M - The matrix to be broadcasted.
@param {number[]} size - The desired size of the broadcasted matrix.
@returns {Matrix} The broadcasted matrix.
@throws {Error} If the size parameter is not an array of numbers.