CORE-1925 Support for clustered indexes in createIndex