Triangular_solve and clone of input

Why does triangular_solve return a copy of the matrix A? It doesn’t seem the matrix is changed in any way, so why return a copy of it?

META: is this the right forum to ask non-ML questions about PyTorch?