A device ignited outside Gracie Mansion during a clash between opposing protest groups Saturday was an improvised explosive capable of causing “serious injury or death,” the NYPD said Sunday.