Update clone method at DeviceInfo.
Add test for method clone and equals at DeviceInfo.