The legal owner signs something over to the museum. It is a gift, preferably without any strings attached.