Adding a copy method to UIView.