Only cash gets the higher limit ... the tax law changes means you may have to think about which way to donate ... remember that if you have to carry forward the unallowed deduction you may still not be able to use it if you will not be able to itemize deductions in the future due to the increase in the standard deductions.
https://www.fidelitycharitable.org/guidance/tax-strategies/charitable-tax-deductions.shtml