clone method

ModelType clone(
  1. ModelType object
)

Clone an object using the serializer

Implementation

ModelType clone(ModelType object) => fromMap(toMap(object));