Large elastocaloric effect in directionally solidified all-d-metal Heusler metamagnetic shape memory alloys