Preheat oven to 350 degrees F. Grease and flour to 9x13 baking dish or use a baking spray. Set aside
In a large bowl, combine all the ingredients: grated coconut, frozen defrost cassava, coconut milk, melted butter, sugar, nutmeg, cinnamon, minced ginger, salt and vanilla. Mix well until all the ingredients have been fully combined. If using raisins you may add at this point.
Pour the mixture in the prepared baking dish and bake for about 60 minutes or until the center is firm. If it is still wobbly add another 10 minutes.
Remove and let it cool for about 10 minutes, then cut in squares and serve.
You may top with whipped cream and toasted coconut or fruits.