Duality of Memory