Mechanical memory in the plant and animal cell periphery