Remove duplicated shapes in the deserialization

Avoid creating new shapes from the same shapeData