Null reference protection.

Prevent copy constructor from accepting null pointers.