When the object is created by copy then getName should not be called.

pointed out by OS.