copy method

Implementation

ConstrainsEntity copy() {
  return ConstrainsEntity(
    required: required,
    minimum: minimum,
    maximum: maximum,
  );
}