FIX the bug of panic for null IntMatrix cloning