Self-duality and supersymmetry