code: def copy(self, request, **kwargs):
          # pylint: disable=unused-argument
          '''
          Copy instance with deps.
          '''
          instance = self.copy_instance(self.get_object())
          serializer = self.get_serializer(instance, data=request.data, partial=True)
          serializer.is_valid()
          serializer.save()
          return Response(serializer.data, status.HTTP_201_CREATED).resf copy(self, request, **kwargs):
          # pylint: disable=unused-argument
          '''
          Copy instance with deps.
          '''
          instance = self.copy_instance(self.get_object())
          serializer = self.get_serializer(instance, data=request.data, partial=True)
          serializer.is_valid()
          serializer.save()
          return Response(serializer.data, status.HTTP_201_CREATED).resp
docs: Copy instance with deps.