New Shape object to store shape of objects as an immutable list of dimensions.