Skipping copy constructor and more logs when iterating a class.