You can use a like-kind exchange of property to defer the gain on property.