modified to catch CloneNotSupportedException
modified to catch CloneNotSupportedException