Map as a lazy property

Gradle provides ListProperty and SetProperty for lazily configuring lists and sets in extensions or tasks. Is there a way to configure maps lazily with, for example, a similar syntax to how the Test task sets system properties?