Implement set, copy, and clone.