Remove PMD clone warning

Removed PMD clone warning on class ElasticsearchMergePolicy