This matrix can be diagonalized -- there are enough linearly independent eigenvectors (two, the same as the multiplicity) in the eigenspace corresponding to λ=1: A=PDP–1 where P is
 [1 0 2]
 [3 1 0]
 [0 0 1]
and D is
 [0 0 0]
 [0 1 0]
 [0 0 1].