A Bottom-Up Approach to Dual Shape-Memory Effects