Controlled Shape Memory Behavior of a Smectic Main-Chain Liquid Crystalline Elastomer