Fix copy assignment and constructor