Combine soy sauce, vinegar, onion, olive oil, green onions, thyme, habanero peppers, sugar, nutmeg, allspice, and cloves in a food processor; blend for about 15 seconds to make the jerk seasoning.
Shape foil into a bowl. Add shrimp and pour in enough jerk seasoning to cover. Place the foil bowl on the grill. Seal the top, leaving a small opening. Grill until pink, stirring occasionally, about 10 minutes. Pour shrimp into a medium bowl.
Heat the remaining sauce in a small saucepan over medium heat, 2 to 3 minutes. Spoon sauce over shrimp.