Duplicate scanner falsely marks object array entries as dupes

We have an object in an array that is unique but obviously shares properties with the other objects in the array. SonarCloud is falsely marking it as duplicate code.

@ganncamp Your assistance would be appreciated, thanks

Hey there.

All literals are ignored by the CPD algorithm, typically because two blocks with exactly the same code but literals should likely be extracted into a single function with parameters.

This doesn’t always make sense, and you are free to set exclusions for duplication when necessary.

Also, please don’t tag individuals who are not always engaged on a thread.