Whenever pursuant to any provision of state or federal law or of any rule or regulation by any state or federal authority made or adopted pursuant thereto, or whenever pursuant to contractual arrangement any bank is under duty or obligation to segregate particular items or assets separate and apart from other items or assets, the same may be either segregated specifically and in kind in the possession of the bank but commingled within the class or amount for the purpose of which they are segregated, or converted into a deposit account separate from any general or other deposit account of such bank with a Federal Reserve Bank or branch thereof, created and organized under an act of Congress of the United States approved December 23, 1913, known as the Federal Reserve Act, as amended, or with any governmental agency hereafter created by act of Congress of the United States authorized to receive such deposit accounts but commingled in such account within the class or amount for the purpose of which such deposit is made, or converted into a deposit account separate from any general or other deposit account of such bank with any one or more other banks or with any one or more banks doing business outside of the state and members of the Federal Reserve System or any governmental agency hereafter created by act of Congress of the United States authorized to receive such deposit accounts but commingled in such account within the class or amount for the purpose of which such deposit is made, or either or any one or more of the foregoing. Any such segregation shall be sufficient if made in any one or more of the manners above specified at or as of the close of business on any banking day.