[Sonar] Fix java:S2975 which is considered as a blocking issue.
The fix consists in using a copy constructor instead of overriding the
clone method.

Change-Id: I697fdaeaa58e905c5347a0b328d8b6abfe06aca0
Signed-off-by: Tu Ton <minhtutonthat@gmail.com>
19 files changed