Identity matrices cause stack overflows when you call asElementList as it ping pongs back from the MatrixViewVector implementation and the AMatrix implementation.
Unfortunately this means I have to use manually-constructed identity matrices for my usecase.