Looking through the PHPExcel library
recently I saw how Mark Baker overrides the magic
__clone method with
comments about ensuring that cloning will perform a deep copy instead of a
shallow one. This is a topic with which I had not had much experience so I did
some research and experimenting to learn what happens when you use
the difference between a shallow copy and a deep copy.