Pattern: Use of clone()
method
Issue: -
The clone method is difficult to get right. You can use the copy constructor of case classes rather than implementing clone.
<check enabled="true" class="org.scalastyle.scalariform.NoCloneChecker" level="warning"/>