Containers with shape retaining means