Copy filter_backends class attribute before returning it.

Closes #1583.