Added method cloneObjectQuietly and added unit tests.