Wiaan Mulder declared the innings on 367 unbeaten