Add copy and move constructors and assign operations.