Improves class copying