Add a matrix copy kernel to each backend.