This chapter may be amended or repealed, at the pleasure of the Legislature, but any amendment or repeal shall not take away or impair any remedy against any corporation under this chapter, or its officers, for any liability which shall have been previously incurred. This chapter and all amendments thereof shall be a part of the charter of every corporation except so far as the same are inapplicable and inappropriate to the objects of the corporation.