The shape memory effect in multiaxial loading