Implement copy construction.