What is the difference between cloning an object and using setTimezone to change timezones in Zend_Date in PHP?

When cloning an object in PHP, you are creating a new instance of the object with the same properties and values as the original object. This means that any changes made to the cloned object will not affect the original object. On the other hand, when using setTimezone to change timezones in Zend_Date, you are modifying the timezone property of the Zend_Date object directly, which will affect the original object as well.

// Cloning an object
$originalObject = new MyClass();
$clonedObject = clone $originalObject;

// Using setTimezone to change timezones in Zend_Date
$date = new Zend_Date();
$date->setTimezone('America/New_York');