Multilayered microstructures with shape memory effects for vertical deployment