A membership corporation that is not a charitable corporation may repurchase any of its memberships or any right arising therefrom only if it is so provided in the articles or bylaws. A membership corporation that is a charitable corporation may not repurchase any of its memberships or any right arising therefrom.