public function performReadonlyTransformation()
    {
        // Source and values are DataObject sets.
        $field = $this->castedCopy(GroupedColorPaletteField_Readonly::class);
        $field->setSource($this->getSource());
        $field->setReadonly(true);

        return $field;
    }