public function findOrCreate(array $attributes)
    {
        $foundAttributes = $this->model->whereIn('value', $attributes)->get();

        $returnAttributes = [];

        if ($foundAttributes) {
            foreach ($foundAttributes as $attribute) {
                $pos = array_search($attribute->value, $attributes);

                // Add returned attributes to array
                if ($pos !== false) {
                    $returnAttributes[] = $attribute;
                    unset($attributes[$pos]);
                }
            }
        }

        // Add remainings attributes as new
        foreach ($attributes as $attribute) {
            $returnAttributes[] = $this->model->create([
                'value'  => $attribute,
                'slug' => Str::slug($attribute),
            ]);
        }

        return $returnAttributes;
    }